Use PESetGroupSelectionFormula to change the group selection formula to the formula string you supply as a parameter. This function can be used by itself to replace an existing group selection formula and also as one of a series of functions (PEGetGroupSelectionFormula; PEGetHandleString; and PESetGroupSelectionFormula). The series can be used in a Custom
BOOL CRPE_API PESetGroupSelectionFormula (
short printJob,
const char FAR *formulaString );
Specifies the print job for which you want to set a new group selection formula. | |
Specifies a pointer to the null |
VB Sample Code for modifying selection formulas and group selection formulas |
Declare Function PESetGroupSelectionFormula Lib "crpe32.dll" (ByVal printJob As Integer, ByVal formulaString As String) As Integer
function PESetGroupSelectionFormula (
printJob: Word;
formulaString: PChar
): Bool stdcall;
EXTERN CLOGICAL PESetGroupSelectionFormula (CWORD, CSTRING) CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |